
import request from '_c/utils/request'

export function echartData(data) {
    return request({
        url: '/api/ag/app/total/index/trx',
        method: 'GET',
        params: data
    })
}

export function echartTrx(data) {
    return request({
        url: '/api/ag/app/total/index/diagram/trx',
        method: 'GET',
        params: data
    })
}

export function echartActive(data) {
    return request({
        url: '/api/ag/app/total/index/diagram/active',
        method: 'GET',
        params: data
    })
}

export function dailyData(data) {
    return request({
        url: '/api/ag/app/total/index/dailyData',
        method: 'GET',
        params: data
    })
}
